package com.ocom.common.entity.payconfig;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: TODO
 * @Author: 朱晖
 * @Date: 2023/4/17
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "xf_zone_date")
public class EntityXfZoneDate implements Serializable {

	private static final long serialVersionUID = -6346460847202032887L;
	/**
	 * 自增id，主键
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	private Integer zoneNo;
	private Long comId;
	private Integer dayDate;
	private String date;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08")
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;


}
